﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace UpdateHYLiveShowConsole.Dto
{
    public class Rootobject
    {
        public int result_code { get; set; }
        public string result_message { get; set; }
        public Data data { get; set; }
        public int total { get; set; }
    }

    public class Data
    {
        public Odchannel odchannel { get; set; }
        public Label[] label { get; set; }
        public Program[] program { get; set; }
    }

    public class Odchannel
    {
        public string channelType { get; set; }
        public string podcasterId { get; set; }
        public string podcasterIcon { get; set; }
        public string anchorNames { get; set; }
        public string subscriptUrl { get; set; }
        public string editorName { get; set; }
        public string shareNum { get; set; }
        public Imageurl[] imageUrl { get; set; }
        public string lastUpdate { get; set; }
        public string categoryIds { get; set; }
        public string channelId { get; set; }
        public string downLoadNum { get; set; }
        public string onlinetime { get; set; }
        public string guest { get; set; }
        public string description { get; set; }
        public string keyword { get; set; }
        public string sub_title { get; set; }
        public string shareUrl { get; set; }
        public string updateTime { get; set; }
        public string name { get; set; }
        public string source { get; set; }
        public string collectNum { get; set; }
        public string playNum { get; set; }
        public string commissioningEditorName { get; set; }
        public string podcaster { get; set; }
        public string id { get; set; }
        public string anchors { get; set; }
    }

    public class Imageurl
    {
        public string size { get; set; }
        public string url { get; set; }
    }

    public class Label
    {
        public string id { get; set; }
        public string name { get; set; }
        public string anchor_id { get; set; }
        public string labeldomainid { get; set; }
    }

    public class Program
    {
        public string shareNum { get; set; }
        public string keyword { get; set; }
        public string description { get; set; }
        public string programId { get; set; }
        public string shareUrl { get; set; }
        public string podcaster { get; set; }
        public string name { get; set; }
        public string onlinetime { get; set; }
        public string playNum { get; set; }
        public string imageUrl { get; set; }
        public Stream[] streams { get; set; }
        public string downloadUrl { get; set; }
        public string orderNum { get; set; }
    }

    public class Stream
    {
        public string bitstreamType { get; set; }
        public string resolution { get; set; }
        public string url { get; set; }
    }
}
